<?php
use yii\helpers\Url;
use app\models\Util;
use yii\helpers\Html;
/* @var $this yii\web\View */
$this->title = '密码管理';
$this->params['breadcrumbs'][] = $this->title;

app\assets\AppAsset::register($this);
?>
<div class="main-content">
	<div class="main-content-inner">
		<div class="page-content">
			<!-- PAGE CONTENT BEGINS -->
			<div class="row">
				<div class="col-xs-12">
					<?php echo Html::beginForm('?', 'get', ['class'=>'form-inline']);?>
					<?php echo Html::input('text', 'search_title', Yii::$app->request->get('search_title'), ['class'=>'form-control', 'placeholder'=>'搜索标题']);?>
					<?php echo Html::submitButton('搜索', ['class'=>'btn btn-default']);?>
					<?php echo Html::endForm();?>
					<table id="simple-table" class="table table-striped table-bordered table-hover">
						<thead>
							<tr>
								<th>标题</th>
								<th></th>
							</tr>
						</thead>
						<tbody>
							<?php foreach ($_list as $_model) {?>
								<tr id="data_<?php echo $_model->id; ?>">
									<td><?php echo $_model->title; ?></td>
									<td>
										<div class="hidden-sm hidden-xs btn-group">
										</div>
										<div class="hidden-md hidden-lg">
											<div class="inline pos-rel">
												<button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown" data-position="auto">
													<i class="ace-icon fa fa-cog icon-only bigger-110"></i>
												</button>
												<ul class="dropdown-menu dropdown-only-icon dropdown-yellow dropdown-menu-right dropdown-caret dropdown-close">
												</ul>
											</div>
										</div>
									</td>
								</tr>
							<?php }?>
						</tbody>
					</table>
					<?php echo \app\widgets\LinkPager::widget(['pagination'=>$pages]);?>
				</div>
			</div>
		</div>
		<!-- /.page-content -->
	</div>
</div>
